<html>
<head>
	
	<title><g:message code="springSecurity.login.title"/></title>
        <link rel="stylesheet" href="${resource(dir: 'css', file: 'stylesheet.css')}" type="text/css">
</head>

<body class="nonforms">
            <img src="${createLinkTo(dir: 'images/homepage', file: 'header.jpg')}" align="top" alt="summerprogram" />
           <h1 style="margin-left:290px;">Login</h1>
           <table align="center">
            <tr>
              <td align="middle">
		<g:if test='${flash.message}'>
			<div class='login_message'>${flash.message}</div>
		</g:if>
                        </br>
		<form action='${postUrl}' method='POST' id='loginForm' class='cssform' autocomplete='off'>
                  
			<label for='username'><g:message code="springSecurity.login.username.label"/>:</label>
				<input type='text' class='text_' name='j_username' id='username'/></br>
                                
                        <label for='password'><g:message code="springSecurity.login.password.label"/>:</label>
				<input type='password' class='text_' name='j_password' id='password'/><br /></br>
                                
                        <input type='submit' id="submit" value='${message(code: "springSecurity.login.button")}'/>
		</form>

<script type='text/javascript'>
	<!--
	(function() {
		document.forms['loginForm'].elements['j_username'].focus();
	})();
	// -->
</script>
</body>
</html>